home *** CD-ROM | disk | FTP | other *** search
- ==========================================================================
- FULLROT -- Realtime Full screen (320x200x256) image rotation -- Made Easy!
- ==========================================================================
-
- Please note that I'm a lousy writer. :)
-
- /************************************************************************\
- FULLROT is Copyright 1994 by Scott Deming. All Rights Reserved!
- ================================================================
- The above copyright is probably pretty pointless, because I hearby place
- this source code in the public domain. Anybody can use it for anything
- they want. If you feel you can become rich by selling this source code,
- then be my guest. But realize the guilt you will feel if you ever see
- me drive by in me old dying Cavalier. :)
- \************************************************************************/
-
- This is the second rendition of what I call FULLROT. Basically it's
- just a simple routine to take a full screen image and rotate it by any
- given angle. The angles used in fullrot range from 0 to 255, and are
- stored in a lookup table using fixed point numbers.
-
- This is easily compiled using DJ GPP. I recomend using this compiler
- for any kind of DOS based development. It provides a very nice DPMI
- compliant 32 bit DOS extender. Contrary to popular belief, you can
- distribute and even *SELL* program you write using DJ GPP. It's
- optimizations, from what I can tell, out do that of any other DOS
- compiler. Although I haven't seen Watcom 10.0 in action as of yet.
- DJGPP can be obtained from any simtel mirror including OAK.OAKLAND.EDU
- in the "/pub/msdos/djgpp" directory. Get the file "readme.1st".
-
- On my 386/40 I'm able to get a full screen frame rate of 8.43 frames per
- second. On a Vesa or PCI Local bus system I'm sure the frame rate is
- substantially higher.
-
- In the first release of FULLROT I demonstrated image scaling as well as
- rotating, but in this release I left the scaling out. There is really
- no reason other than lazyness.
-
- That's all for now. Enjoy the source code and I hope it helps. If you
- have any further questions (the source code is really easy to follow, I
- think) don't hesitate to ask. I can be reached via email. I'll accept
- any comments, questions, criticism (constructive or not), or complaints.
- However, I cannot be held responsible for any monitors you fry.
-
- I would have written a decent explination on how it works, but I'm too
- lazy, and it's been done a thousand times before. Even once by me, in
- my last release of Fullrot.
-
- --
- Scott Deming
- sad@umcc.umich.edu
-